package com.memorywords;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.memorywords.mapper")
//@ComponentScan(basePackages = {
//        "com.memorywords.config",
//        "com.memorywords.interceptors" // 添加拦截器所在包
//})
@SpringBootApplication
public class MemoryWordsApplication {

    public static void main(String[] args) {
        SpringApplication.run(MemoryWordsApplication.class, args);
    }

}
